<script lang="ts" setup>
import router from './router';



</script>

<template>
    <div class="tab">
       <router-link :to="{path:'/order'}">订单管理</router-link>
       <router-link to="/product">产品管理</router-link>
       <router-link to="/user">用户管理</router-link>
    </div>

<div class="tab_content">
    <router-view></router-view>
</div>

</template>

<style scoped>
    .tab{
        display: flex;
        justify-content: center;
        gap: 10rem;
    }
    /* button{
        width: 100px;
        height: 50px;
        background-color: aqua;
        border: 2px solid aqua;
    }
    .active{
        background-color: greenyellow;
    }
    .tab_content{
        display: flex;
        justify-content: center;
        border: 1px solid aqua;
    } */
</style>